package com.hunt.framework.manager.factory;

import com.hunt.model.entity.SysOperLog;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.TimerTask;

/**
 * @program: hunt-lx
 * @description: 异步工厂（产生任务用）
 * @author: Lx
 * @create: 2019-02-01 22:16
 **/
public class AsyncFactory
{
    public static final Logger log = LoggerFactory.getLogger("sys-user");

    public static TimerTask recordOper(final SysOperLog operLog)
    {
        return new TimerTask()
        {
            @Override
            public void run()
            {
               // operLog.setOperLocation();
            }
        }
    }

}
